[infra] Enforce clean nightly version provenance#60
Conversation
Keep the nightly checkout unchanged and reject wheels whose runtime version does not identify the checked-out commit.
📝 WalkthroughWalkthroughThe nightly workflow adds Jetson ports-mirror parameters, passes mirror and clean-source settings into the C++ Docker build, removes Dockerfile patching, and supplies package version and commit information to Python wheel verification. ChangesNightly build and verification
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
.github/workflows/nightly.yml (1)
118-118: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick winRestore the ARM64 apt mirror setup in the nightly Docker build.
UBUNTU_PORTS_MIRRORis passed toscripts/build_cuvslam_in_docker.sh, but the script never forwards it into the container, soscripts/Dockerfilestill uses the defaultports.ubuntu.comsources and DEP-11 index targets. Jetson builds can still fail on unreachable apt endpoints.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.github/workflows/nightly.yml at line 118, Update the nightly Docker build flow around build_cuvslam_in_docker.sh to forward UBUNTU_PORTS_MIRROR into the container, and ensure scripts/Dockerfile uses that value for ARM64 apt sources and DEP-11 index targets instead of defaulting to ports.ubuntu.com. Restore the mirror setup while preserving existing behavior for other architectures.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In @.github/workflows/nightly.yml:
- Line 118: Update the nightly Docker build flow around
build_cuvslam_in_docker.sh to forward UBUNTU_PORTS_MIRROR into the container,
and ensure scripts/Dockerfile uses that value for ARM64 apt sources and DEP-11
index targets instead of defaulting to ports.ubuntu.com. Restore the mirror
setup while preserving existing behavior for other architectures.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: 61a7c49a-08e0-457f-9df0-1aaa6b05c4b0
📒 Files selected for processing (1)
.github/workflows/nightly.yml
Test Results
cuVSLAM Evaluation KPIs
Artifacts |
Keep the nightly checkout unchanged and reject wheels whose runtime version does not identify the checked-out commit.
Summary by CodeRabbit